<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
 #container{
  width: 100%;
  height: 100%;
  margin: 0px auto; /*  좌우 여백 동일하게 해서 중앙정렬 */
  
 }
 #container_left{
  padding: 5px;
  position: fixed;
  width: 200px;
  margin-left: 40px;
  height: 100%;
  background-color:#FFCC00;
  float: left;
 }
 
 #left{
  position: fixed;
  width: 200px;  
  float: right; /* left로 부유위치를 지정해 left와 main이 수평 배치하도록 한다    */
 }
 #container_right{
  padding: 5px;
  height: 100%;
  width: 900px;
  margin-left: 260px;
  border-right: 1px solid #bcbcbc;
  float: left; /* left로 부유위치를 지정해 left와 main이 수평 배치하도록 한다    */
 }
 #header{
  height: 30px;
  margin-left: auto; margin-right: auto;
  border-bottom: 1px solid #bcbcbc;
 }
 #main{
  padding: 5px;
  height: 450px;
  margin-left: auto; margin-right: auto;
  border-bottom: 1px solid #bcbcbc;
 }
 #footer{
  padding: 5px;
  height: 70px;
  margin-left: auto; margin-right: auto;
 }
</style>
</head>
<body leftmargin="0" topmargin="0">
<div id="container">
	<div id="container_left">	
		<div id="left"><tiles:insertAttribute name="left"/></div>
	</div>
	<div id="container_right">
		<div id="header" align="right"><tiles:insertAttribute name="header"/></div>
	 	<div id="main"><tiles:insertAttribute name="main"/></div>
		<div id="footer"><tiles:insertAttribute name="footer"/></div>
	</div>
</div>
</body>
</html>